import Cookies from 'js-cookie'

export function getToken(key) {
  // console.log('Cookies.get(key)===key====[' + key + '], value==[' + Cookies.get(key) + ']')
  return Cookies.get(key)
}

export function setToken(key, value) {
  // console.log('Cookies.set(key)=======[' + key + '],  token ===[' + value + ']')
  return Cookies.set(key, value)
}

export function removeToken(key) {
  return Cookies.remove(key)
}
